<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>综合练习</title>
    <style>
        body {
            font: 12px "simhei", Arial, Helvetica, sans-serif;;
            color: #666;
        }

        #t_div > div, #b_l_div, #b_r_div > div {
            background-color: #e8e8e8;
        }

        body > div {
            width: 1000px;
            margin: 0 auto;
        }

        /* 上div */
        #t_div {
            height: 376px;
            margin-bottom: 8px;
            display: block;
        }

        /* 灵越 */
        #t_l_div {
            width: 611px;
            height: 376px;
            margin-right: 10px;
            float: left;
        }

        #t_l_div>img{
            width: 318px;
            height: 319px;
            position: absolute;
            right: 40px;
            top: 40px;
            /*设置动画的持续时间 1s=1秒*/
            transition-duration: 1s;
        }

        #t_l_div>img:hover{
            /*设置图片悬停后缩放1.1倍*/
            transform: scale(1.1);
        }

        #t_l_div{
            position: relative;/*做参照物*/
        }

        #l_d1_div {
            width: 245px;
            height: 232px;
            padding: 5px;
            text-align: left;
            margin-top: 68px;
            margin-left: 36px;
        }

        #d1_div_p1 {
            color: #333333;
            font-size: 32px;
            margin-bottom: 12px;
            font-weight: initial;
        }

        #d1_div_p2 {
            margin-bottom: 24px;
            font-size: 12px;
            font-weight: lighter;
        }

        #d1_div_p3 {
            margin-bottom: 12px;
            font-weight: bold;
            color: #01A1ED;
            font-size: 24px;
        }

        #l_d1_div > a {
            width: 132px;
            height: 40px;
            line-height: 40px;
            font-size: 20px;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;
            text-decoration: none;
            display: block;
            border-radius: 2px;
            color: white;
            background-color: #01A1ED;
        }

        /* 颜值 */
        #t_r_div {
            width: 375px;
            height: 376px;
            overflow: hidden;
        }

        #t_r_div>img{
            width: 292px;
            height: 232px;
            position: absolute;
            right: 20px;
            top: 130px;
            transition-duration: 1s;
        }

        #t_r_div>img:hover{
            /*设置图片悬停后缩放1.1倍*/
            transform: scale(1.1);
        }

        #t_r_div{
            position: relative;/*做参照物*/
        }

        #r_d2_div {
            width: 253px;
            height: 232px;
            padding: 4px;
            text-align: left;
            margin-top: 39px;
            margin-left: 25px;
        }

        #d2_div_p1 {
            color: #333333;
            font-size: 32px;
            margin-bottom: 12px;
            font-weight: lighter;
        }

        #d2_div_p2 {
            margin-bottom: 24px;
            font-size: 12px;
            font-weight: lighter;
        }

        #d2_div_p3 {
            color: #01A1ED;
            margin-bottom: 12px;
            font-weight: bold;
            font-size: 24px;
        }

        #r_d2_div > a {
            width: 132px;
            height: 40px;
            font-size: 20px;
            line-height: 40px;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;
            background-color: #01A1ED;
            border-radius: 2px;
            color: white;
            display: block;
            text-decoration: none;
            /* 设置非静态定位 一般使用相对定位
            因为其他定位会脱离文档流 可能会对页面造成影响 */
            position: relative;
            z-index: 1;
        }

        /* 下div */
        #b_div {
            height: 233px;
            display: block;
        }

        /* 电脑.办公 */
        #b_l_div {
            width: 366px;
            height: 233px;
            margin-right: 20px;
            background-color: #e8e8e8;
            float: left;
        }

        #b_r_div > div {
            width: 198px;
            height: 233px;
            margin-right: 5.18px;
            box-sizing: border-box;
            text-align: center;
            float: right;
        }


    </style>
</head>
<body>
<div>
    <div id="t_div">
        <div id="t_l_div">
            <div id="l_d1_div">
                <p id="d1_div_p1">灵越 燃7000系列</p>
                <p id="d1_div_p2">酷睿双核i5处理器|256GB SSD| 8GB内存
                    英特尔HD显卡620含共享显卡内存</p>
                <p id="d1_div_p3">￥4999.00</p>
                <a href="">查看详情</a>
            </div>
            <img src="dn1.png">
        </div>
        <div id="t_r_div">
            <div id="r_d2_div">
                <p id="d2_div_p1">颜值 框不住</p>
                <p id="d2_div_p2">酷睿双核i5处理器|256GB SSD| 8GB内存
                    英特尔HD显卡620含共享显卡内存</p>
                <p id="d2_div_p3">￥6888.00</p>
                <a href="">查看详情</a>
            </div>
            <img src="dn2.png">
        </div>
    </div>
    <div id="b_div">
        <div id="b_l_div">
            <div id="l_d2_div">
                <span>电脑,办公/1F</span>
            </div>
            <img src="xdn.png">
        </div>
        <div id="b_r_div">
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
</div>
</body>
</html>